/* 
 * File:   Logger.h
 * Author: kisme
 *
 * Created on 14 April 2013, 7:02 PM
 */

#ifndef LOGGER_H
#define	LOGGER_H

// exit..
#include <stdlib.h>
// printf..
#include <stdio.h>
#include <string.h>
// kisme
// 
#include "UtilBase.h"

/**
 * Configure area
 */
struct Conf_Logger {
    // 
};

/**
 * Kisme : Logger
 */
class Logger : public UtilBase {
public:
    Logger();
    Logger(const Logger& orig);
    virtual ~Logger();
    //----------//
    /**
     * configure self
     * @return
     */
    int config();
    
    void log_default(__const char *atext);
    
    void log_fprintf(FILE *__restrict __stream,
		    __const char *__restrict __format, ...);
private:
    /**
     * configure instance
     */
    struct Conf_Logger *mConf;
};

#endif	/* LOGGER_H */

